package com.UnionPayCenter.mapper;

import com.UnionPayCenter.operation.entity.OperationRewards;

import java.util.List;

/**
 * 运营奖品mapper
 */
public interface OperationRewardsMapper {

    int deleteByPrimaryKey(Integer activityRewardsId);

    int deleteByActivityId(Integer activityId);

    int insert(OperationRewards record);

    OperationRewards selectByPrimaryKey(Integer activityRewardsId);

    List<OperationRewards> selectByActivityId(Integer activityId);

    int updateByPrimaryKeySelective(OperationRewards record);

}